package com.ktgj.customer.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 travel_order_refund
 * 
 * @author ruoyi
 * @date 2022-08-03
 */
public class TravelOrderRefund extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long orderrefundid;

    /** 旅游订单主键 */
    @Excel(name = "旅游订单主键")
    private Long orderId;

    /** 实际指第三方退款金额， 真实退款时 还需要减去金色世纪的手续费 */
    @Excel(name = "实际指第三方退款金额， 真实退款时 还需要减去金色世纪的手续费")
    private BigDecimal refundamount;

    /** 第三方退订手续费 */
    @Excel(name = "第三方退订手续费")
    private BigDecimal roundageamount;

    /** 金色世纪退订手续费 */
    @Excel(name = "金色世纪退订手续费")
    private BigDecimal jsjpoundageamount;
//    申请退单 0
//    退单成功 1
//    退单失败 2
    @Excel(name = "申请退单 0 退单成功 1 退单失败 2")
    private Long refundstatus;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applytime;
    //申请开始时间
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date applytimeBegin;
    //申请结束时间
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date applytimeEnd;

    /** 处理时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "处理时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date processtime;

    /** 失败原因 */
    @Excel(name = "失败原因")
    private String failedreason;

    /** 是否处理完成 0 未完成 1 完成 */
    @Excel(name = "是否处理完成 0 未完成 1 完成")
    private Long isdispose;

    //会员ID
    private Long customerId;
    //会员名称
    private String customerName;
    //旅游团名称
    private String groupName;
    //会员手机号
    private String customerPhone;

    public String getCustomerPhone()
    {
        return customerPhone;
    }

    public void setCustomerPhone(String customerPhone)
    {
        this.customerPhone = customerPhone;
    }

    public Date getApplytimeBegin()
    {
        return applytimeBegin;
    }

    public void setApplytimeBegin(Date applytimeBegin)
    {
        this.applytimeBegin = applytimeBegin;
    }

    public Date getApplytimeEnd()
    {
        return applytimeEnd;
    }

    public void setApplytimeEnd(Date applytimeEnd)
    {
        this.applytimeEnd = applytimeEnd;
    }

    public Long getCustomerId()
    {
        return customerId;
    }

    public void setCustomerId(Long customerId)
    {
        this.customerId = customerId;
    }

    public String getCustomerName()
    {
        return customerName;
    }

    public void setCustomerName(String customerName)
    {
        this.customerName = customerName;
    }

    public String getGroupName()
    {
        return groupName;
    }

    public void setGroupName(String groupName)
    {
        this.groupName = groupName;
    }

    public void setOrderrefundid(Long orderrefundid)
    {
        this.orderrefundid = orderrefundid;
    }

    public Long getOrderrefundid() 
    {
        return orderrefundid;
    }
    public void setOrderId(Long orderId) 
    {
        this.orderId = orderId;
    }

    public Long getOrderId() 
    {
        return orderId;
    }
    public void setRefundamount(BigDecimal refundamount) 
    {
        this.refundamount = refundamount;
    }

    public BigDecimal getRefundamount() 
    {
        return refundamount;
    }
    public void setRoundageamount(BigDecimal roundageamount) 
    {
        this.roundageamount = roundageamount;
    }

    public BigDecimal getRoundageamount() 
    {
        return roundageamount;
    }
    public void setJsjpoundageamount(BigDecimal jsjpoundageamount) 
    {
        this.jsjpoundageamount = jsjpoundageamount;
    }

    public BigDecimal getJsjpoundageamount() 
    {
        return jsjpoundageamount;
    }
    public void setRefundstatus(Long refundstatus) 
    {
        this.refundstatus = refundstatus;
    }

    public Long getRefundstatus() 
    {
        return refundstatus;
    }
    public void setApplytime(Date applytime) 
    {
        this.applytime = applytime;
    }

    public Date getApplytime() 
    {
        return applytime;
    }
    public void setProcesstime(Date processtime) 
    {
        this.processtime = processtime;
    }

    public Date getProcesstime() 
    {
        return processtime;
    }
    public void setFailedreason(String failedreason) 
    {
        this.failedreason = failedreason;
    }

    public String getFailedreason() 
    {
        return failedreason;
    }
    public void setIsdispose(Long isdispose) 
    {
        this.isdispose = isdispose;
    }

    public Long getIsdispose() 
    {
        return isdispose;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("orderrefundid", getOrderrefundid())
            .append("orderId", getOrderId())
            .append("refundamount", getRefundamount())
            .append("roundageamount", getRoundageamount())
            .append("jsjpoundageamount", getJsjpoundageamount())
            .append("refundstatus", getRefundstatus())
            .append("applytime", getApplytime())
            .append("processtime", getProcesstime())
            .append("failedreason", getFailedreason())
            .append("isdispose", getIsdispose())
            .toString();
    }
}
